package org.aurora.module.user.infra.dal.mysql.converter;

import org.aurora.framework.boot.data.common.converter.DataConverter;
import org.aurora.module.user.domain.entity.Role;
import org.aurora.module.user.infra.dal.mysql.dataobject.RoleDO;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

/**
 * RoleConverter
 * <pre>
 * description:
 * create date: 2025-03-22 19:47:06
 * </pre>
 *
 * @author cao.yong
 */
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface RoleConverter extends DataConverter<RoleDO, Role> {
    RoleConverter INSTANCE = Mappers.getMapper(RoleConverter.class);
}
